build/Makefile.msvcproj: Fix cleanup
authorChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 20 Dec 2016 06:39:39 +0000 (14:39 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Tue, 20 Dec 2016 06:39:39 +0000 (14:39 +0800)
When we generate the Visual Studio 2013 projects, we need to remove the
*.vs12.sourcefiles and *.vs12.sourcefile.filters that are generated during
the process, so that 'make distcheck' won't complain about leftover files.

build/Makefile.msvcproj

index 2a2dd89ab764f62f5453104017d42931ccf2e71f..a7bae54f48d2737a5912e9773c41dddeebcc016d 100644 (file)
@@ -128,6 +128,8 @@ $(top_builddir)/build/win32/vs12/$(1).vcxproj: Makefile
 
        $(CPP) -P - <$(top_srcdir)/build/win32/vs12/$(1).vcxprojin >$(top_builddir)/build/win32/vs12/$(1).vcxproj
        $(CPP) -P - <$(top_srcdir)/build/win32/vs12/$(1).vcxproj.filtersin >$(top_builddir)/build/win32/vs12/$(1).vcxproj.filters
+       $(RM) $(1).vs12.sourcefiles
+       $(RM) $(1).vs12.sourcefiles.filters
 
 $(top_builddir)/build/win32/vs12/$(1).vs12.headers: Makefile
        -$(RM) $(top_builddir)/build/win32/vs12/$(1).vs12.headers